package com.zhou.bpm.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @Author: zhoujinchuan
 * @Description: TODO（请添加描述）
 * @CreateTime: 2023/10/25 11:47
 */
@Data
@ApiModel(description = "流程节点审批人对象")
public class BpmNodeApproverDto {

    @ApiModelProperty("流程编码")
    @NotBlank(message = "流程编码不能为空")
    private String processCode;

    @ApiModelProperty("节点编码")
    @NotBlank(message = "节点编码不能为空")
    private String nodeCode;

    @ApiModelProperty("审批人或者角色信息")
    private List<BpmNodeApproverUserDto> userDtoList;

}
